<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>{{ username }}</title>

  <!-- Favicons -->
  <link href="../static/assets/img/tubiao.png" rel="icon">


  <!-- Vendor CSS Files -->
  <link href="../static/assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
  <link href="../static/assets/vendor/icofont/icofont.min.css" rel="stylesheet">
  <link href="../static/assets/vendor/boxicons/css/boxicons.min.css" rel="stylesheet">
  <link href="../static/assets/vendor/animate.css/animate.min.css" rel="stylesheet">
  <link href="../static/assets/vendor/venobox/venobox.css" rel="stylesheet">
  <link href="../static/assets/vendor/aos/aos.css" rel="stylesheet">

  <!-- Template Main CSS File -->
  <link href="../static/assets/css/style.css" rel="stylesheet">

<style type="text/css">
<!--
    body,td {
    scrollbar-face-color:#FFD788;
    scrollbar-highlight-color:#FFD788;
    scrollbar-3dlight-color:#FFD788;
    scrollbar-darkshadow-color:#FFD788;
    scrollbar-shadow-color:#FFAA0B;
    scrollbar-arrow-color:#FFD788;
    scrollbar-track-color:#FFD788;
    font-size : 8pt;
    font-family:Comic Sans MS,Verdana;
    COLOR: #F39729}
    input[type="submit"] {
        width: 100%;
        padding: 10px;
        background-color: #f9aa14;
        border: none;
        border-radius: 5px;
        color: #fff;
        font-size: 16px;
        cursor: pointer;
        transition: background-color 0.3s;
      }
    A:link, A:visited, A:active {color: #F39729; text-decoration: none;}
    A:hover {color:#FFD788; text-decoration: none; }
    a{cursor:crosshair;}
-->
</style>
</head>

<body bgcolor="#FFD788" topmargin="5">

  <!-- ======= Header ======= -->
  <header id="header">
    <div class="container">

      <div class="logo float-left">
        <h1 class="text-light"><a><span>welcome {{ username }} </span></a></h1>
      </div>

      <nav class="nav-menu float-right d-none d-lg-block">
        <ul>
          <li><a href="/home/{{ username }}">首页</a></li>
          <li><a href="/movie_1/{{ username }}">电影</a></li>
             <li><a href="/squire/{{ username }}">广场</a></li>
          <li><a href="/data/{{ username }}">数据表</a></li>
          <li><a href="/about/{{ username }}">关于我们</a></li>
          <li class="active"><a href="/my/{{ username }}">{{ username }}</a></li>
        </ul>
      </nav><!-- .nav-menu -->

    </div>
  </header><!-- End Header -->
<div align="center">
  <table width="550" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td height="700">
        <table width="550" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="204" background="../static/assets/img/top.gif">&nbsp;</td>
          </tr>
          <tr>
            <td height="556" valign="top" background="../static/assets/img/bg.gif">
              <table width="550" height="556" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td height="541" valign="top">
                    <div align="center">
                      <img src="{{ user_info.avatar }}" style="width: 150px;height: 150px;border-radius: 50%;">
                     <h3>
                         <a href="/following/{{ username }}"><button style="color: blue;">关注: {{ count[0] }}</button></a>&nbsp;&nbsp;&nbsp;&nbsp;
                         <a href="/followers/{{ username }}"> <button style="color: blue;">粉丝: {{ count[1] }}</button></a>&nbsp;&nbsp;&nbsp;&nbsp;
                         <a href="/friends/{{ username }}"> <button style="color: blue;">好友: {{ count[2] }}</button></a>&nbsp;&nbsp;&nbsp;&nbsp;
                         <a href="/message/{{ username }}"> <button style="color: blue;">消息: {{ unread_num }} </button></a>&nbsp;&nbsp;&nbsp;&nbsp;
                      </h3>
                      <h2>姓名: {{ username }}</h2>
                      <h3>性别: {{ user_info.gender }}</h3>
                      <h4>年龄: {{ user_info.age }}</h4>
                      <h4>签名: {{ user_info.signature }}</h4>
                      <h4>地址: {{ user_info.address }}</h4>
                      <h4>爱好: {{ user_info.hobbies }}</h4>
                      <form action="/edit_profile/{{ username }}" method="get" >
                        <input type="submit" value="修改个人信息">
                      </form><br>
                      <form action="/quit/{{ username }}" method="get" >
                        <input type="submit" value="退出账户">
                      </form>

                    </div>
                  </td>
                </tr>
              </table>
            </td>
          </tr>
          <tr>
            <td height="40" background="../static/assets/img/bottom.gif">&nbsp;</td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
</div>
<div align="left"></div>

<div align="left"></div>
</body>
</html>
